package com.yanzhen.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu implements Serializable {
    private Integer id;
    private Integer parentId;//父目录
    private String name;
    private String url;
    private String permission; //授权标识。多个用逗号分隔，如：user:list,user:create
    private Integer status;//状态
    private Integer sort;//排序值。越小越靠前
    private Integer type;//类型。0：目录；1：菜单；2：按钮；3：导航菜单
    private Integer createBy;//创建人id
    private Date updateTime;//修改时间
    private Date createTime;//创建时间
}
